.header {
    height: 60px;
    width: 100%;
    background: #35373e;
    display: flex;
    align-items: center;

    .loading-icon {
        color: white;
        font-size: 20px;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .history-info {
        text-align: center;
        margin-left: 30%;
        display: flex;
        align-items: center;
        font-family: "Montserrat", sans-serif;
        font-weight: 400;
        color: white;
        position: absolute;
        top: 15px;

        span {
            display: inline-block;

            &:before {
                content: "";
                float: left;
                width: 24px;
                height: 24px;
                background: url("/img/alerts/warn.svg") left top;
                margin: -3px 10px 0 0;
            }
        }

        .deactivate {
            margin: 0 10px;
            height: 30px;
            font-size: 12px;
            font-weight: 700;
        }
    }

    .actions {
        position: absolute;
        top: 18px;
        right: 18px;
        display: flex;
        align-items: center;

        .btn-container {
            display: flex;
            justify-content: center;

            &:last-child {
                justify-content: flex-end;
            }

            .tooltiptext {
                display: none;
                width: fit-content;
                background-color: #555;
                color: #fff;
                text-align: center;
                padding: 5px 10px;
                border-radius: 6px;
                position: absolute;
                pointer-events: none;
                z-index: 1000;
                font-size: 12px;
                top: 30px;
                margin-left: 10px;
            }

            .btn:hover {
                opacity: 0.5;

                & + .tooltiptext {
                    display: flex;
                }
            }

            .btn {
                border: none;
                width: 24px;
                height: 24px;
                margin-left: 15px;
                border-radius: 0;
                background-size: contain;
                background-repeat: no-repeat;
                background-color: #35373e;
                display: flex;

                img {
                    width: 24px;
                    height: 24px;
                }

                div {
                    background-size: contain;
                    width: 24px;
                    height: 24px;
                    opacity: 0.8;

                    &:hover {
                        opacity: 1;
                    }
                }
            }
        }

        .btn-search {
            background-image: url("/img/header-btns/search.svg");
        }

        .btn-about {
            background-image: url("/img/header-btns/about.svg");
        }

        .btn-settings {
            position: relative;
            background: url("/img/header-btns/settings.svg") no-repeat center
                center;
            background-size: 20px;

            &:hover .settings-menu {
                display: block;
                opacity: 1;
                z-index: 100;
            }
        }

        .btn-notifications {
            background-image: url("/img/header-btns/new-version.svg");
            background-size: 20px;
            background-position: bottom;
        }

        .btn-github,
        .btn-slack,
        .btn-bug {
            padding: 0 !important;
        }
    }

    .settings-menu {
        width: 250px;
        padding: 18px 1px 1px;
        position: absolute;
        top: 24px;
        right: 0;
        z-index: 100;
        background: #35373e;
        text-align: left;

        .s-menu-item {
            display: block;
            padding: 6px 15px;
            color: white;

            &:hover {
                background: #1e1e1e;
            }
        }
    }
}
